package nml.mail.reg.smtp;



import nml.mail.reg.Reg;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class  opera_com extends Reg{

	public void reg(String username, String password) {		
		

		String url = "https://my.opera.com/community/signup/?s_ref=home";
		get(url);
		
		dr.findElement(By.name("username")).sendKeys(username);
		dr.findElement(By.name("user.password")).sendKeys(password);
		dr.findElement(By.name("password2")).sendKeys(password);
		
 	
		dr.findElement(By.name("validate")).click();
		
		System.out.println(username+"@sogou.com");
		
	}

	public static void main(String[] args) {
		new opera_com().reg("qq331798654", "qq3131798654");
	}
	
	
}
